#ifndef SPLASHSTATE_H
#define SPLASHSTATE_H

#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <SDL/SDL_image.h>
#include "State.h"
#include "Text.h"
#include "Audio.h"
#include "InputManager.h"
#include "TimeCounter.h"

using namespace std;

class SplashState: public State{
    public:
        SplashState();
        void Load();
        void Unload();
        int Update(int dt);
        void Render(SDL_Surface *screen);
    protected:
        Text *text, *text2;
        Audio *music;
        SDL_Surface* fundo;
        SDL_Surface* logo;
        SDL_Rect dstrect;
        TimeCounter *time;
        bool quit;

};

#endif //SPLASHSTATE_H


